#ifndef _CDATALOADBASE_H_
#define _CDATALOADBASE_H_
#include "CityBusInfo.h"
class CDataLoadBase
{
public:
	CDataLoadBase(void);
	virtual				~CDataLoadBase(void);
	virtual bool	LoadData() = 0;
	virtual bool	SaveData() = 0;
	virtual	void	Release()  = 0;


	virtual		void	SetPath(const char *pszPath)
	{
		memcpy_s(m_pszPath,MAX_PATH_LENGTH,pszPath,MAX_PATH_LENGTH);
	}
	virtual	const CCityBusInfo*	GetCityBusInfo() const
	{
		return &m_BusDataInfo;
	}
protected:
	char			m_pszPath[MAX_PATH_LENGTH];
	CCityBusInfo	m_BusDataInfo;
};

#endif